Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Text.​Json.​Serialization.​Metadata.​JsonPropertyInfoValues<​T>
Assembly: System.Text.Json
Inheritance: object → JsonPropertyInfoValues
Provides serialization metadata about a property or field.
Properties
public
Func<​Reflection.​ICustomAttributeProvider>
AttributeProviderFactory
Provides a <see cref="T:System.Reflection.ICustomAttributeProvider" /> factory that maps to <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.AttributeProvider" /> .
public
JsonConverter<​T>
Converter
A <see cref="T:System.Text.Json.Serialization.JsonConverter" /> for the property or field, specified by <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute" /> .
public
Type
DeclaringType
The declaring type of the property or field.
public
Func<​object, T>
Getter
Provides a mechanism to get the property or field's value.
public
bool
HasJsonInclude
Whether the property was annotated with <see cref="T:System.Text.Json.Serialization.JsonIncludeAttribute" /> .
public
JsonIgnoreCondition?
IgnoreCondition
Specifies a condition for the member to be ignored.
public
bool
IsExtensionData
Whether the property was annotated with <see cref="T:System.Text.Json.Serialization.JsonExtensionDataAttribute" /> .
public
bool
IsProperty
If <see langword="true" /> , indicates that the member is a property, otherwise indicates the member is a field.
public
bool
IsPublic
Whether the property or field is public.
public
bool
IsVirtual
Whether the property or field is a virtual property.
public
string
JsonPropertyName
The name to be used when processing the property or field, specified by <see cref="T:System.Text.Json.Serialization.JsonPropertyNameAttribute" /> .
public
JsonNumberHandling?
NumberHandling
If the property or field is a number, specifies how it should processed when serializing and deserializing.
public
string
PropertyName
The name of the property or field.
public
JsonTypeInfo
PropertyTypeInfo
The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo" /> info for the property or field's type.
public
Action<​object, T>
Setter
Provides a mechanism to set the property or field's value.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object